// component/evaluateCard/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    myQuestiontext: {
      type: String,
      value: ''
    },
    submitTime: {
      type: String,
      value: ''
    },
    imgArr:{
      type:Array,
      value:[
      ]
    },
    isDoctor:{
      type:Boolean,
      value:false
    },
    replyText:{
      type: Array,
      value: []
    },
    replyTime:{
      type: String,
      value: ''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    clickImageAction(e){
      wx.previewImage({
        urls: this.properties.imgArr,
        current: this.properties.imgArr[Number(e.currentTarget.id)]
      })
    }
  }
})
